Add 3.94 version macros
authorMatthias Clasen <mclasen@redhat.com>
Thu, 19 Oct 2017 10:18:12 +0000 (12:18 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 19 Oct 2017 10:18:52 +0000 (12:18 +0200)
gdk/gdkversionmacros.h.in

index fad0d6b71f9d7641d6b5df4d88cf729a37f31d72..46eed24d1e03d69611197e60bf74b51dc7afbda8 100644 (file)
  */
 #define GDK_VERSION_3_92        (G_ENCODE_VERSION (3, 92))
 
+/**
+ * GDK_VERSION_3_94:
+ *
+ * A macro that evaluates to the 3.94 version of GDK, in a format
+ * that can be used by the C pre-processor.
+ *
+ * Since: 3.94
+ */
+#define GDK_VERSION_3_94        (G_ENCODE_VERSION (3, 94))
+
 
 /* evaluates to the current stable version; for development cycles,
  * this means the next stable target
 # define GDK_AVAILABLE_IN_3_92                _GDK_EXTERN
 #endif
 
+#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_94
+# define GDK_AVAILABLE_IN_3_94                GDK_UNAVAILABLE(3, 94)
+#else
+# define GDK_AVAILABLE_IN_3_94                _GDK_EXTERN
+#endif
+
 
 #endif  /* __GDK_VERSION_MACROS_H__ */